﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace Jianshu_Research_Tools
{
    public class Objects
    {
        public class Island
        {
            //公共字段池
            public string _url;

            private ArrayList category;

            Dictionary<object, object> _post;
            private ArrayList slug;
            private ArrayList name;
            private ArrayList avatar_url;
            private ArrayList introduction;
            private ArrayList members_count;
            private ArrayList posts_count;

            public Island(string source)
            {
                this._url = source;

                Slug = new ArrayList();
                Name= new ArrayList();
                Avatar_url=  new ArrayList();
                Introduction = new ArrayList();
                Members_count = new ArrayList();
                Posts_count = new ArrayList();
                Category = new ArrayList();
                Post = new Dictionary<object, object>();
            }

            public ArrayList Slug { get => slug; set => slug = value; }
            public ArrayList Name { get => name; set => name = value; }
            public ArrayList Avatar_url { get => avatar_url; set => avatar_url = value; }
            public ArrayList Introduction { get => introduction; set => introduction = value; }
            public ArrayList Members_count { get => members_count; set => members_count = value; }
            public ArrayList Posts_count { get => posts_count; set => posts_count = value; }
            public ArrayList Category { get => category; set => category = value; }
            public Dictionary<object, object> Post { get => _post; set => _post = value; }

            //1293.00

            public string Url() => _url;
        }
    }
}
